package com.sinog.alarm.model;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @desc 读取配置文件中的省份标识和省份名称
 * @author lk
 * @date 2022-02-21 10:30
 */
@Data
@Component
public class LocalCode {

    @Value("${local_code.code}")
    private int localCode;
    @Value("${local_code.name}")
    private String flagName;
}